package com.htfc786.reminder.job.cycle;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import java.util.Date;

// @Component
public class ReminderJob {

    // @Scheduled(cron = "0 0 2 * * ?")
    @Scheduled(fixedDelay = 50000)
    public void performTask() {
        // 执行的任务逻辑
        System.out.println("定时任务被执行: " + new Date());
    }
}